
//字体大小宏

#ifndef FontMacro_h
#define FontMacro_h

#define LTFont(size) [UIFont systemFontOfSize:size]
#define kSystemFontOfPX(m) [UIFont systemFontOfSize:((m/2/96.0f) * 72.0f)]

/*手机尺寸*/
#define iPhone58inch   kScreenHeight == 812
#define iPhone55inch   kScreenHeight == 736
#define iPhone47inch   kScreenHeight == 667
#define iPhone4inch    kScreenHeight == 568
#define iPhone35inch   kScreenHeight == 480

//宏定义字体,根据屏幕大小切换字体大小
#define IS_SmallScreen (iPhone35inch || iPhone4inch)
#define IS_NotIphoneX (iPhone35inch || iPhone47inch || iPhone4inch || iPhone55inch)
#define NavationBarHeight (IS_NotIphoneX ? 64 : 88 )
#define StatuBarHeight (IS_NotIphoneX ? 20 : 44 )
#define TabBarHeight (IS_NotIphoneX ? 49 : 83 )


#define MaxFontSize    (IS_SmallScreen ? 21.f : 25.f )
#define LagerFontSize  (IS_SmallScreen ? 17.f : 19.f )
#define BigFontSize    (IS_SmallScreen ? 16.f : 17.f )
#define LeftBigFontSize    (IS_SmallScreen ? 15.f : 17.f )
#define NormalFontSize (IS_SmallScreen ? 13.f : 15.f )
#define SmallFontSize  (IS_SmallScreen ? 11.f : 13.f )
#define MinFontSize    (IS_SmallScreen ? 9.f  : 11.f )

#define AngryFontSize (IS_SmallScreen ? 10.f : 12.f )


#define TitleLagerFontSize  (IS_SmallScreen ? 13.f : 15.f )



#endif /* FontMacro_h */
